package com.winning.ds.login.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winning.ds.login.entity.SysDbsxbEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName DbsxMapper
 * @Description TODO
 * @Author WJX
 * @Date 2020/4/8 15:14
 **/
@Mapper
public interface DbsxMapper extends BaseMapper<SysDbsxbEntity> {


    /**
     * 根据菜单编码查询待办事项列表
     * @param cdbmList
     * @return
     */
    List<SysDbsxbEntity> getListByCdbm(List<String> cdbmList);

    /**
     * 根据传递sql查询结果
     * @param dbsql
     * @return
     */
    Map<String, Object> getDbsxData(@Param("dbsql")String dbsql);

}
